package net.sareweb.acab.components.util;

import java.util.Date;
import java.util.List;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;

@Name("requestCreationData")
@Scope(ScopeType.CONVERSATION)
public class RequestCreationData {
	
	private String locationType="";
	private Double fromLat=0.0; 
	private Double fromLon=0.0;
	private Double toLat=0.0;
	private Double toLon=0.0; 
	private String periodType="";
	private Date requestDate1;
	private Date requestDate2;
	private String repType="";
	private List<String> selectedItems;
	private String requestName;
	
	
	
	public String getLocationType() {
		return locationType;
	}
	public void setLocationType(String locationType) {
		this.locationType = locationType;
	}
	public Double getFromLat() {
		return fromLat;
	}
	public void setFromLat(Double fromLat) {
		this.fromLat = fromLat;
	}
	public Double getFromLon() {
		return fromLon;
	}
	public void setFromLon(Double fromLon) {
		this.fromLon = fromLon;
	}
	public Double getToLat() {
		return toLat;
	}
	public void setToLat(Double toLat) {
		this.toLat = toLat;
	}
	public Double getToLon() {
		return toLon;
	}
	public void setToLon(Double toLon) {
		this.toLon = toLon;
	}
	public String getPeriodType() {
		return periodType;
	}
	public void setPeriodType(String periodType) {
		this.periodType = periodType;
	}
	public Date getRequestDate1() {
		return requestDate1;
	}
	public void setRequestDate1(Date requestDate1) {
		this.requestDate1 = requestDate1;
	}
	public Date getRequestDate2() {
		return requestDate2;
	}
	public void setRequestDate2(Date requestDate2) {
		this.requestDate2 = requestDate2;
	}
	public String getRepType() {
		return repType;
	}
	public void setRepType(String repType) {
		this.repType = repType;
	}
	public List<String> getSelectedItems() {
		return selectedItems;
	}
	public void setSelectedItems(List<String> selectedItems) {
		this.selectedItems = selectedItems;
	}
	public String getRequestName() {
		return requestName;
	}
	public void setRequestName(String requestName) {
		this.requestName = requestName;
	}
	public static final String PERIODTYPE_SINGLE="singleDay";
	public static final String PERIODTYPE_PERIOD="periodOfTime";
	public static final String PERIODTYPE_UNDEFINED="undefinedEnding";

}
